//
//  CYYNetWorkManager.h
//  LetsPartyBmob
//
//  Created by rimi on 15/9/9.
//  Copyright (c) 2015年 柴阳阳. All rights reserved.
//

#import <Foundation/Foundation.h>

//成功block
typedef void(^Sucess)(NSString * sucessString);
//失败block
typedef void(^Fail)(NSError * error);

@interface CYYNetWorkManager : NSObject

//date to string
+ (NSString *)stringFromDate:(NSDate *)date;
//string to date
+ (NSDate *)dateFromString:(NSString *)string;
//date to string
+ (NSString *)tStringFromDate:(NSDate *)date;
@end
